<?php

namespace Products;

abstract class Deposit {
	private $period;
	private $amount;
	private $interestRate;
	public abstract function __construct($period, $amount);
	public abstract function getPeriod();
	public abstract function setPeriod($period);
	public abstract function getAmount();
	public abstract function setAmount($amount);
	public abstract function getInterestRate();
	public abstract function setInterestRate($interestRate);
	public abstract function addInterest();
	public abstract function showInfo();
}
?>